package com.cssw.fyzb.busi.service.msg;

import com.cssw.fyzb.core.dao.msg.MsgDao;
import com.cssw.fyzb.core.model.dodb.SysMessage;
import com.ydn.dbframe.plugin.activerecord.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 */
@Service
public class MsgServiceImpl implements MsgService {

    @Autowired
    private MsgDao msgDao;

    @Override
    public Page<SysMessage> listMsg(int pageNumber,int pageSize,String state) {
        return msgDao.list(pageNumber, pageSize, state);
    }
}
